<div id="sfForumAction">
    <div class='myforummenu'><a href="<?php echo url_for('sfForumTopic/new') ?>"><img src='/images/new_page.png'>Новая тема</a></div>
    <div class='myforummenu'><a href="<?php echo url_for('sfForumTopic/index') ?>"><img src='/images/pages.png'>Список тем</a></div>
    <div class='myforummenu'><a href="<?php echo url_for('myaccount/index') ?>"><img src='/images/user.png' />Мой профайл</a></div>
    <?php if (!$sf_user->isAuthenticated()): ?>
        <?php echo '<div class="myforummenu">'. link_to('<img src="/images/accept.png" />Вход','@sf_guard_signin').'</div>' ?> 
    <?php else: ?>
        <?php echo '<div class="myforummenu">'. link_to('<img src="/images/block.png" />Выход', '@sf_guard_signout').'</div>' ?>
    <?php endif; ?>
    <div class='forumsearch'>
    <input class="searchtext" type="text" name="sfForumSearch" />
    <input class="searchbutton"  type="submit" name="sfForumSearchSubmit" value="Поиск" />
    </div>
</div>